package com.chenyue.cm.user.service;

import com.chenyue.cm.base.service.BaseServiceIface;
import com.chenyue.cm.bean.Success;
import com.chenyue.cm.user.domain.JdFreightTemplate;

import java.math.BigDecimal;

/**
*
* @author chenyue-cm
*/
public interface JdFreightTemplateService extends BaseServiceIface<JdFreightTemplate> {

    BigDecimal calculateFeeByTemplateId(String feeFormworkId, String skuWeight, String num, String provinceCode, BigDecimal fee);

    Success<Object> getFee(String goodsId, String skuId, String cartIds, String num, String addressId);
}
